/**
 * Classe che rappresenta un territorio
 * @authore SPAIRisKo
 */

package org.spairisko.domain;

import java.util.ArrayList;
import java.util.List;

public class Territory {

    private String name;
    private String description;

    /**
     * Terreni confinanti
     */
    private List<Territory> confinants;

    public Territory(){
        this.confinants = new ArrayList<Territory>();
    }

    public Territory(String name, String description) {
        this.name = name;
        this.description = description;
        this.confinants = new ArrayList<Territory>();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<Territory> getConfinants() {
        return confinants;
    }

    public void setConfinants(List<Territory> confinants) {
        this.confinants = confinants;
    }
}
